<template>
	<div class="Fan">
		<a href="javascript:history.back(-1)">
			<img src="../../assets/liu/左箭头.png" />
		</a>
	</div>
</template>

<script>
	export default {
		name: 'Fan',
		mounted() {
			$(function() {    
					$(window).scroll(function() {    
						if($(window).scrollTop() > 10) {    
							$(".Fan a").css("display", "none");    
						}    
						else     {    
							$(".Fan a").css("display", "block");    
						}    
					})
					})
				}
			}
	
</script>

<style scoped>
	.Fan {
		position: fixed;
		left: 1.2rem;
		top: 1rem;
		z-index: 100;
	}
	
	.Fan img {
		width: 2.5rem;
	}
</style>